package com.weave;

import com.weave.stack.Stack;

/**
 * @Description 栈
 * @Author weave
 * @Date 2023/10/11 11:46
 */
public class ClientStackTest {
    public static void main(String[] args) {
        Stack<Integer> stack = new Stack<>();
        stack.push(11);
        stack.push(22);
        stack.push(33);
        stack.push(44);

        while (!stack.isEmpty()) {
            System.out.println(stack.pop());
        }
    }

}
